using System;

namespace Joy.Erp.BasicArchives.ItemMasters
{
    public class AuxiliaryUnitCreateOrUpdateDto : ExtensibleObject
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid? Id { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public Guid UnitId { get; set; }
        /// <summary>
        /// 主转辅倍率
        /// </summary>
        public int MainToAuxiliaryRatio { get; set; }
        /// <summary>
        /// 辅转主倍率
        /// </summary>
        public int AuxiliaryToMainRatio { get; set; }
        /// <summary>
        /// 主档案
        /// </summary>
        public Guid? MainArchiveId { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public string SourceType { get; set; }
        /// <summary>
        /// 来源主键
        /// </summary>
        public string SourceKey { get; set; }
        /// <summary>
        /// 来源时间
        /// </summary>
        public DateTime? SourceCreatedOn { get; set; }
        /// <summary>
        /// 最后编辑时间
        /// </summary>
        public DateTime? LastModificationTime { get; set; }
        /// <summary>
        /// 最后编辑人
        /// </summary>
        public Guid? LastModifierId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreationTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public Guid? CreatorId { get; set; }
    }
}
